<template>
<view class="container">
  <view class="list">
    <view class="item">
      <view class="left">
        <view class="title">
          电子签名称：快眼科技有限公司
        </view>
        <view class="time">
          签署市价：{{ formatDate(1698110465000) }}
        </view>
      </view>
      <view class="download">
        下载电子签
      </view>
    </view>
  </view>
</view>
</template>

<script>
import { formatTime } from '@/utils/util'
export default {
  data(){
    return {
      list:[]
    }
  },
  onLoad(){
    this.getList()
  },
  methods:{
    formatDate(time){
      return formatTime(time)
    },
    getList(){
      this.$request.post('wx/fdd/signTaskList',{taskStatus:'sign_completed'}).then(res=>{
        this.list = res.data
      })
    }
  }
}
</script>

<style scoped lang="scss">
.container {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  .list{
    padding: 30rpx;
    .item{
      border-radius: 10rpx;
      border: solid 1px #1777FF;
      padding: 28rpx 20rpx;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      .left{

      }
      .title{
        font-size: 32rpx;
        font-weight: bold;
        color: #242323;
        line-height: 40rpx;
      }
      .time{
        margin-top: 10rpx;
        font-size: 24rpx;
        color: #999999;
        line-height: 40rpx;
      }
      .download{
        border: solid 1px #1777FF;
        border-radius: 8rpx;
        padding: 8rpx 12rpx;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24rpx;
        font-weight: 500;
        color: #1777FF;
        //一行显示
        white-space: nowrap;
      }
    }
  }
}
</style>